package com.zhiyou100.video.util;


public class RandomCode {
	private static char[] ch = {'A','B','C','D','E','F','G','H','I','J','K','L','Q','W','X','R','T','Y','U','S','V','N','M','Z','O','P','0','1','2','3','4','5','6','7','8','9'};
	
	public static String getCode(){
		StringBuilder sb = new StringBuilder();
		for(int i=1;i<=8;i++){
			int index = (int)(Math.random()*36);
			sb.append(ch[index]);
		}
		
		return sb.toString();
	}
	
}
